package cn.zmlio.mypress.cms.entity

import org.junit.Assert
import org.junit.Before
import org.junit.Test

class SiteTest {

    lateinit var site: Site

    @Before
    fun setUp() {
        site = Site(siteName = "mypress", url = "http://zmlio.cn")
    }

    @Test
    fun test() {
        Assert.assertEquals("mypress", site.siteName)
        Assert.assertNotNull(site.createTime)
        Assert.assertNotNull(site.updateUser)
    }
}